/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.library.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import org.apache.poi.sl.usermodel.PictureData;
import org.apache.poi.xssf.usermodel.XSSFDrawing;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

/**
 * UserExcel
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class QuestionBankExcel implements Serializable {
	private static final long serialVersionUID = 1L;

	@ColumnWidth(20)
	@ExcelProperty("题目编号")
	private String questionNumber;

	@ColumnWidth(15)
	@ExcelProperty("题库名称")
	private String bankName;

	//	@ExcelIgnore
//	@ExcelProperty("用户平台")
//	private String userType;

	@ColumnWidth(30)
	@ExcelProperty("题目")
	private String content;

	@ColumnWidth(20)
	@ExcelProperty("选项A")
	private String optionA;

	@ColumnWidth(20)
	@ExcelProperty("选项B")
	private String optionB;

	@ColumnWidth(20)
	@ExcelProperty("选项C")
	private String optionC;

	@ColumnWidth(20)
	@ExcelProperty("选项D")
	private String optionD;

	@ColumnWidth(15)
	@ExcelProperty("题目性质")
	private String questionProperties;

	@ColumnWidth(15)
	@ExcelProperty("题目难度")
	private String difficultyLevel;

	@ColumnWidth(15)
	@ExcelProperty("题目类型")
	private String questionType;

	@ColumnWidth(15)
	@ExcelProperty("答案")
	private String right;

	/**
	 * 一级类别
	 */
	@ColumnWidth(20)
	@ExcelProperty("一级类别")
	private String categoryFirst ;

	/**
	 * 二级类别
	 */
	@ColumnWidth(20)
	@ExcelProperty("二级类别")
	private String categorySecond;

	/**
	 * 考试题、练习题
	 * 为空默认为练习题
	 */
	@ColumnWidth(30)
	@ExcelProperty("题目类别(考试题、练习题)")
	private String affiliationType;

}
